﻿using System;
using System.Collections.ObjectModel;

namespace AppGene.DataModel
{
    /// <summary>
    /// The class provides a description for a logical table class.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class LogicalTableAttribute
        : Attribute
    {
        /// <summary>
        /// Create a logical table attribute instance.
        /// </summary>
        public LogicalTableAttribute()
        { }

        /// <summary>
        /// The name of the table.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// The description of the table.
        /// </summary>
        public string Description { get; set; }
    }
}
